package com.kaifamiao.demo.d0720;

public class Demo06 {

    public static void main(String[] args) {
//        int[] a = {1, 2};
//        int[] b = {3, 4};
//        int[] c = {5, 6};
//        // 二维数组， 数组中每个元素都是一维数组
//        int[][] arr = {a, b, c};

        int[][] arrs = new int[3][2];
//        System.out.println(arr.length);
//        System.out.println(arrs.length);

//        System.out.println(arrs[1][0]);

        for (int i = 0; i < arrs.length; i ++){
//            System.out.println(arrs[i]);
            for(int j = 0; j < arrs[i].length; j ++){
                System.out.println(arrs[i][j]);
            }
        }


    }
}
